<template>
	<view class="">
		<view class="rowsc">
			<view class="share_bg rowsc">
				<image :src="codeSrc" mode=""></image>
				<view class="title">
					邀请码：{{code}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				codeSrc: '',
				code: uni.getStorageSync('userInfo').code
			}
		},
		onLoad() {
			console.log('[邀请码]', uni.getStorageSync('userInfo').code);
		},
		methods: {

		}
	}
</script>

<style scoped>
	.share_bg {
		margin-top: 140rpx;
		width: 610rpx;
		height: 784rpx;
		background-image: url(../../static/icon_a.png);
		background-size: 100% 100%;
		position: relative;
	}

	image {
		height: 500rpx;
		width: 500rpx;
		margin-top: 50rpx;
	}

	.title {
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: #5B5E63;
		opacity: 1;
		position: absolute;
		bottom: 100rpx;
		left: 0;
		right: 0;
		text-align: center;
	}
</style>
